{% extends "adibilisadminBundle::layout.html.twig" %}

{% block title %}
  Affichage de commande - {{ parent() }}
{% endblock %}

{% block adibilisadmin_body %}




<h1>PassOrder</h1>



<div class="well">
    <p><b>{{ 'profile.show.username'|trans({}, 'FOSUserBundle') }}: </b> {{ entity.user.username }}</p>
    <p><b> {{ 'profile.show.email'|trans({}, 'FOSUserBundle') }}: </b> {{ entity.user.email }}</p>
    <p><b> Prénom : </b> {{ entity.user.firstname }}</p>
    <p><b> Nom : </b> {{ entity.user.lastname }}</p>
    <p><b> Adresse : </b> {{ entity.user.address }}</p>
    <p><b> Téléphone : </b> {{ entity.user.telephone }}</p>
    <p><b> Localité : </b> {{ entity.user.locality.locality }}</p>

</div>





<table class="record_properties">
    <tbody>
        <tr>
            <th>Id</th>
            <td>{{ entity.id }}</td>
        </tr>
        <tr>
            <th>Status</th>
            <td>{{ entity.status }}</td>
        </tr>
        <tr>
            <th>Date</th>
            <td>{{ entity.date|date('Y-m-d H:i:s') }}</td>
        </tr>
    </tbody>
</table>

<ul class="record_actions">
    <li>
        <a href="{{ path('passorder_list') }}">
            Back to the list
        </a>
    </li>
    <li>
        <a href="{{ path('passorder_edit', { 'id': entity.id }) }}">
            Edit
        </a>
    </li>
    <li>
        <form action="{{ path('passorder_delete', { 'id': entity.id }) }}" method="post">
            {{ form_widget(delete_form) }}
            <button type="submit">Delete</button>
        </form>
    </li>
</ul>


{% endblock %}
